package com.luozongyao.serviceStatistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

/**
 * @program: guli_parent
 * @description:
 * @author: Zongyao Luo
 * @create: 2021-08-29 15:19
 **/
@SpringBootApplication
@ComponentScan("com.luozongyao")
@MapperScan(basePackages = {"com.luozongyao.serviceStatistics.mapper"})
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling  //开启定时任务
public class StatisticApplication {
    public static void main(String[] args) {
        SpringApplication.run(StatisticApplication.class,args);
    }
}
